<%-- 
    Document   : index
    Created on : Dec 12, 2009, 12:50:56 AM
    Author     : fdcube
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%request.setCharacterEncoding("utf-8");%>
<%response.setCharacterEncoding("utf-8");%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <script type="text/javascript" src="jquery/jquery-1.3.2.min.js"></script>
        <script type="text/javascript" src="jquery/jquery-ui-1.7.2.cusms.min.js"></script>
        <script type="text/javascript" src="jquery/custom/main.js"></script>
        <script type="text/javascript" src="jquery/custom/opt.js"></script>
        <link href="jquery/jquery-ui-1.7.2.cusms.css" rel="stylesheet" type="text/css" />
        <style type="text/css">
            body{ font: 68.5% "Trebuchet MS", sans-serif; margin: 50px;}
            .dialog_link {padding: .4em 1em .4em 20px;text-decoration: none;position: relative;}
            .dialog_link span.ui-icon {margin: 0 5px 0 0;position: absolute;left: .2em;top: 50%;margin-top: -8px;}
            ul#icons {margin: 0; padding: 0;}
            ul#icons li {margin: 2px; position: relative; padding: 4px 0; cursor: pointer; float: left;  list-style: none;}
            ul#icons span.ui-icon {float: left; margin: 0 4px;}
            .hidden {display:none;}
            .topdiv {
                z-index:1000000;
            }
            input { display:block; }
            input.text { margin-bottom:12px; width:95%; padding: .4em; }
        </style>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>客户管理系统</title>
    </head>
    <body>
        <div id="wraper">
            <div id="mytips"></div>
            <div id="controlpanel">
                <p>
                    <a onclick="addCustomer()" href="#" id="add_link" class="dialog_link ui-state-default ui-corner-all">
                        <span class="ui-icon ui-icon-person"></span>
                        添加客户</a>
                    <a onclick="editCustomer()" href="#" id="edit_link" class="dialog_link ui-state-default ui-corner-all">
                        <span class="ui-icon ui-icon-pencil"></span>
                        编辑客户</a>
                    <a onclick="deleteCustomer()" href="#" id="delete_link" class="dialog_link ui-state-default ui-corner-all">
                        <span class="ui-icon ui-icon-trash"></span>
                        删除客户</a>
                    <a onclick="changeGroup()" href="#" id="changeG_link2" class="dialog_link ui-state-default ui-corner-all">
                        <span class="ui-icon ui-icon-transferthick-e-w"></span>
                        转移客户</a>
                    <a onclick="userLogout()" href="#" id="logout_link" class="dialog_link ui-state-default ui-corner-all">
                        <span class="ui-icon ui-icon-power"></span>
                        用户退出</a>
                </p>
            </div>
            <div id="main">
                <ul></ul>
            </div>
            <div id="editform" class="hidden">
                <p id="validateTips">请填写所有内容</p>
                <div><span>姓名：</span><input class="text ui-widget-content ui-corner-all" id="cname" name="cname" type="text"/></div>
                <div><span>电话：</span><input class="text ui-widget-content ui-corner-all" id="cphone" name="cphone" type="text"/></div>
                <div><span>邮箱：</span><input class="text ui-widget-content ui-corner-all" id="cmail" name="cmail" type="text"/></div>
                <div><span>生日：</span><input class="text ui-widget-content ui-corner-all" id="cbirthday" name="cbirthday" type="text"/></div>
            </div>
            <div id="controlpanel2">
                <p>
                    <a onclick="addCustomer()" href="#" id="add_link2" class="dialog_link ui-state-default ui-corner-all">
                        <span class="ui-icon ui-icon-person"></span>
                        添加客户</a>
                    <a onclick="editCustomer()" href="#" id="edit_link2" class="dialog_link ui-state-default ui-corner-all">
                        <span class="ui-icon ui-icon-pencil"></span>
                        编辑客户</a>
                    <a onclick="deleteCustomer()" href="#" id="delete_link2" class="dialog_link ui-state-default ui-corner-all">
                        <span class="ui-icon ui-icon-trash"></span>
                        删除客户</a>
                    <a onclick="changeGroup()" href="#" id="changeG_link2" class="dialog_link ui-state-default ui-corner-all">
                        <span class="ui-icon ui-icon-transferthick-e-w"></span>
                        转移客户</a>
                    <a onclick="userLogout()" href="#" id="logout_link2" class="dialog_link ui-state-default ui-corner-all">
                        <span class="ui-icon ui-icon-power"></span>
                        用户退出</a>
                </p>
            </div>
        </div>
    </body>
</html>
